import { flagOptions, timeOptions } from './constant'

export const getIllnessTimeText = (value?: number) =>
  timeOptions.find((item) => item.value === value)?.label

export const getConsultFlagText = (value?: number) =>
  flagOptions.find((item) => item.value === value)?.label
